﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace K054539
{
    public static class DPCMTableDefault
    {
        public static int[] Shifts()
        {
            int[] ret = {
                0, 1, 2, 4,
                8, 16, 32, 64,
                0, -64, -32, -16,
                -8, -4, -2, -1
            };
            return ret;
        }

        public static int[] Squares()
        {
            int[] ret = {
                0, 1, 4, 9,
                16, 25, 36, 49,
                -64, -49, -36, -25,
                -16, -9, -4, -1
            };
            return ret;
        }
    }

    public class CodecProperties
    {
        public int[] DPCMTable;
        public Stream Input;
		public bool LoopEnabled;
		public int LoopLength;
		public int LoopStart;
        public Stream Output;
        public bool SwapNybble;
    }
}
